Keysight Pathwave 89600 VSA .NET API
ChangeMeasurementChannels(Int32[]) Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > Input Class > ChangeMeasurementChannels Method : ChangeMeasurementChannels(Int32[]) Method


logicalChannelIndexes
The zero-based logical channel indexes that correspond to which logical channels to use as measurement channels in the measurement.

Glossary Item Box

Selects which logical channels to use as measurement channels for this measurement.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Sub ChangeMeasurementChannels( _
   ByVal ParamArray logicalChannelIndexes() As Integer _
) 
C# 
public virtual void ChangeMeasurementChannels( 
   params int[] logicalChannelIndexes
)
C++/CLI 
public:
virtual void ChangeMeasurementChannels( 
   ... array<int>^ logicalChannelIndexes
) 

Parameters

logicalChannelIndexes
The zero-based logical channel indexes that correspond to which logical channels to use as measurement channels in the measurement.

Exceptions

ExceptionDescription
System.ArgumentExceptionIf the array is empty, any values are negative, duplicates of other values in the array, or for logical channel indexes that are out of range.

Remarks

In order to get an array of the current logical channel indexes used for each measurement channel the IndexOf method on the LogicalChannels collection can be used with an item from the MeasurementChannels. So for example in C# using a Linq expression the following code would return an array of the current logical channel indexes used for each measurement channel. MeasurementChannels.Select(chan => LogicalChannels.IndexOf(chan)).ToArray();

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

Minimum Software Version Requirement: Keysight PathWave 89600 VSA Ver 15.00

See Also